home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Deutsche Edition 1
/
Deutsche Edition 1.iso
/
amok
/
amok_lha
/
amok22.lha
/
Scroll
/
Scroll.def
next >
Wrap
Text File
|
1993-08-15
|
1KB
|
38 lines
(******************************************************
*
* :Program. Scroll.def
* :Author. Holger Gzella
* :Address. Freischöffenweg 12 D-4600 Dortmund 16
* :Phone. (0231) 85 16 02
* :Version. 1.0
* :Date. 9/7/89 20:36:43
* :Copyright. PD
* :Language. Modula-2
* :Translator. M2Amiga 3.2d
* :Contents. Procedure to create a scrolltext
* :Remark. For Intros Assembler seems to be better,
* :Remark. this is to create an "About"-message or
* :Remark. something like this. Enjoy!
* :Remark. Idea is from an C-program (urgh!) in the
* :Remark. AMIGA-Sonderheft 4 by Christian Wolf.
******************************************************)
DEFINITION MODULE Scroll;
FROM Graphics IMPORT RastPortPtr;
(* This is the magic stuff ... usage:
port : RastPortPtr you want to scroll in (screen or window)
w : width of scrolling area
s : speed of scroll (only 1-8 makes sense)
r : number of repititions of -1 for scrolling until LMB
l : number of chars to scroll
y : y-coordinate of scrolling area
Stuff: ARRAY OF CHAR containing to string to scroll
*)
PROCEDURE ScrollX(port:RastPortPtr; w,s,r,l,y:INTEGER; Stuff:ARRAY OF CHAR);
END Scroll.